package com.domain;

import java.io.Serializable;

public class User implements Serializable {

    private String uname;
    private String uid;
    private String upwd;
    private String usex;

    public User(){

    }

    public User(String uname,String uid,String upwd ,String usex){
        this.usex=usex;
        this.uid=uid;
        this.uname=uname;
        this.upwd=upwd;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUsex() {
        return usex;
    }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "User{" +
                "uname='" + uname + '\'' +
                ", uid='" + uid + '\'' +
                ", upwd='" + upwd + '\'' +
                ", usex='" + usex + '\'' +
                '}';
    }
}

